package com.legoo.studaychineseonline.bean;

public class UpdateBean {

    /**
     * tag :
     * data : {"update_info":{"force_update":false,"name":"","url":""}}
     * code : 0
     * message : success
     */

    private String tag;
    private DataBean data;
    private int code;
    private String message;

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "UpdateBean{" +
                "tag='" + tag + '\'' +
                ", data=" + data +
                ", code=" + code +
                ", message='" + message + '\'' +
                '}';
    }

    public static class DataBean {
        /**
         * update_info : {"force_update":false,"name":"","url":""}
         */

        private UpdateInfoBean update_info;

        public UpdateInfoBean getUpdate_info() {
            return update_info;
        }

        public void setUpdate_info(UpdateInfoBean update_info) {
            this.update_info = update_info;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "update_info=" + update_info +
                    '}';
        }

        public static class UpdateInfoBean {
            /**
             * force_update : false
             * name :
             * url :
             */

            private boolean force_update;
            private String name;
            private String url;

            public boolean isForce_update() {
                return force_update;
            }

            public void setForce_update(boolean force_update) {
                this.force_update = force_update;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            @Override
            public String toString() {
                return "UpdateInfoBean{" +
                        "force_update=" + force_update +
                        ", name='" + name + '\'' +
                        ", url='" + url + '\'' +
                        '}';
            }
        }
    }
}
